package com.macro.mall.tiny.service;

import com.macro.mall.tiny.common.api.CommonResult;

/**
 * 会员管理UmsMemberService
 */
public interface UmsMemberService {
    /**
     * 生成验证码
     * @param telephone
     * @return
     */
    public CommonResult generateAuthCode(String telephone);

    /**
     * 验证码的手机号是否与当前匹配
     * @param telephone
     * @param authCode
     * @return
     */
    public CommonResult verfifyAuthCode(String telephone,String authCode);
}
